package com.javasm.bootcrud01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableTransactionManagement//开启事务
@MapperScan("com.javasm.bootcrud01.*.dao")
@SpringBootApplication
public class BootCrud01Application {

    public static void main(String[] args) {

        SpringApplication.run(BootCrud01Application.class, args);
    }

}
